package com.sright.bcard.user.dal.mapper;

import com.sright.bcard.common.service.share.base.dao.BaseMapper;
import com.sright.bcard.user.dal.entity.VisitorAnalysisDO;
import com.sright.bcard.user.dal.query.AnalysisListParamQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface VisitorAnalysisMapper extends BaseMapper<VisitorAnalysisDO> {
    int deleteByPrimaryKey(Long id);

    List<VisitorAnalysisDO> selectByEnterpriseId(@Param("enterpriseId") Long enterpriseId);

    List<VisitorAnalysisDO> selectPageList(AnalysisListParamQuery analysisListParamQuery);

    Integer count(AnalysisListParamQuery analysisListParamQuery);

    VisitorAnalysisDO selectByMemberIdAndEnterpriseId(@Param("memberId") Long memberId, @Param("enterpriseId") Long enterpriseId);
}